export const Time = (fmt) => {
  const days = Math.floor(fmt / 86400);
  const hours = Math.floor((fmt % 86400) / 3600);
  const minutes = Math.floor(((fmt % 86400) % 3600) / 60);
  const seconds = Math.floor(((fmt % 86400) % 3600) % 60);
  let str = ''
  if(days != 0){
    str = days+'天'+hours+'小时'+minutes+'分'+seconds+'秒'
  }else if(hours != 0){
    str = hours+'小时'+minutes+'分'+seconds+'秒'
  }else if(minutes != 0){
    str = minutes+'分'+seconds+'秒'
  }else{
    str = seconds+'秒'
  }
  return str;
}